libavcodec-dev software package provides Development files for libavcodec, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libavcodec-dev
libavcodec-dev is installed in your system.
Make ensure the libavcodec-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libavcodec-dev *
You will get with libavcodec-dev package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Library development |
| Package | libavcodec-dev |
| Version | 4:0.8.17-0ubuntu0.12.04.2 [amd |
| Description | Development files for libavcodec |
| Sub Section | libdevel |